package cc.lucien.entity2;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * @author lucien-ma
 * @date 2021/9/8
 * @apiNote
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {

    private Integer id;

    private String name;

    private String password;

    private Integer age;

    private String gender;

    private Address address;

    private Boolean flag;

    // 所有爱好
    private List<String> hobby;

    // 被选中的爱好
    private List<String> selectHobby;

    private Integer radioId;

    private Map<Integer, String> gradeMap;

    private Integer selectGrade;

    private Map<Integer, String> cityMap;

    private Integer selectCity;
}
